use lib "./lib";
use MSN;
use Digest::MD5 qw(md5);
use Data::Dumper;
use MIME::Base64;

# Make short variable for the cool little dot.
$d = decode_base64("4oCi");

$o = shift;
&loadModule("connect") if ($o == 1);

# SET THE DIRECTORY IN WHICH THE CONFIGURATIONS ARE
# WITHOUT THIS THE BOT WILL NOT BE ABLE TO RUN
$confdir = "Z:\\klikconfig";
$version = "v0.3.4";

print "                                                                          $version\n";
print "  >> Klik $version\n";
print "  >> Made by MyCreations, Inc (http://mcreate.morphious.co.uk/)\n\n";
print " ~ Welcome to Klik. Please choose an option from below.\n";

&loadModule("menu");

sub loadModule {
  my $module = shift;
  require("./modules/mod_".$module.".pl");
}